﻿using ARchGL.Platform.Core;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace ARchGL.Platform.Mappings
{
    public class ReportWarehousesMapping : IEntityTypeConfiguration<ReportWarehouses>
    {
        public void Configure(EntityTypeBuilder<ReportWarehouses> builder)
        {
            //builder.ToTable(MappingConsts.Prefix + nameof(ReportWarehouses));

            builder.Property(p => p.DateTime).HasMaxLength(7);
            builder.Property(p => p.Values).HasMaxLength(100);
        }
    }
}
